package com.hengpeng.itfinbase.persist;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Enumerated;

import com.hengpeng.itfinbase.en.AccountType;
import com.hengpeng.itfinbase.en.TransType;
import com.hengpeng.itfinbase.idAssign.AbstractAssign18IdEntity;

/**
 * <pre>
 * 日结报表
 * </pre>
 * 
 * @author hp-232
 * @version 1.0, 2015-8-24
 */
@Entity
public class AccountLogReport extends AbstractAssign18IdEntity {
    /**
     * 
     */
    private static final long serialVersionUID = -7885993276218891844L;

    /**
     * 交易金额
     */
    private Long transMoney;

    /**
     * 交易类型
     */
    @Enumerated(javax.persistence.EnumType.STRING)
    @Column(length = 20)
    private TransType transType;

    /**
     * 交易日期
     */
    private Date reportDate;

    /**
     * 账户类型
     */
    @Enumerated(javax.persistence.EnumType.STRING)
    @Column(length = 20)
    private AccountType accountType;

    public Long getTransMoney() {
        return transMoney;
    }

    public void setTransMoney(Long transMoney) {
        this.transMoney = transMoney;
    }

    public TransType getTransType() {
        return transType;
    }

    public void setTransType(TransType transType) {
        this.transType = transType;
    }

    public Date getReportDate() {
        return reportDate;
    }

    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }

    public AccountType getAccountType() {
        return accountType;
    }

    public void setAccountType(AccountType accountType) {
        this.accountType = accountType;
    }
}
